package com.center.growcenterserver.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("students")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "student_id", type = IdType.INPUT)
    private String studentId;

    private String username;

    private String password;

    private String pic;


    private String realName;

    public void setPicUrl(String picUrl) {
        this.pic = picUrl;
    }
}
